<?php $this->load->view('admin/header'); ?>

<div class="main clear">
    <div class="tool">
        <a href="###">管理模板</a>
    </div>

    <div class="table02">
        <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr>
                <th width="5%">ID</th>
                <th width="15%">名称</th>
                <th width="20%">首页</th>
                <th width="20%">列表页</th>
                <th width="20%">内页</th>
                <th width="20%">备注</th>
            </tr>
            <?php if($model_data){?>
                <?php foreach($model_data as $data):?>
                    <tr>
                        <td><?php echo $data['modelid'];?></td>
                        <td><?php echo $data['name'];?></td>
                        <td><?php echo $data['template_index'];?></td>
                        <td><?php echo $data['template_list'];?></td>
                        <td><?php echo $data['template_show'];?></td>
                        <td><?php echo $data['remark'];?></td>
                    </tr>
                <?php endforeach;?>
            <?php }?>
            </tbody>
        </table>
    </div>


</div>

<?php $this->load->view('admin/footer'); ?>